package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemUserDuty;

public interface ISystemUserDutyDao {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemUserDuty transientInstance);
   /**
    * 删除
    * @param persistentInstance
    */
	public abstract void delete(TSystemUserDuty persistentInstance);
	/**
	 * 根据ID查询
	 * @param id
	 * @return
	 */
	public abstract TSystemUserDuty findById(java.lang.Integer id);
	/**
	 * 根据实例查询
	 * @param instance
	 * @return
	 */
	public abstract List findByExample(TSystemUserDuty instance);
	/**
	 * 根据属性查询
	 * @param instance
	 * @return
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查询全部
	 * @param instance
	 * @return
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param instance
	 * @return
	 */
	public abstract TSystemUserDuty merge(TSystemUserDuty detachedInstance);

	public abstract void attachDirty(TSystemUserDuty instance);

	public abstract void attachClean(TSystemUserDuty instance);

}